<?php

use yii\db\Schema;
use yii\db\Migration;

class m160226_025808_update_condition_tables extends Migration
{
    public function up()
    {
        $sql = <<<FINE
        alter table {{%condition_adspace_category}} modify column `adspace_category_id` varchar(1024) not null comment 'DSP 平台上的广告位分类id';
FINE;
        return $this->execute($sql);
    }

    public function down()
    {
        return true;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
